﻿#ifndef __SIMULATION_EYE_CMS_MAIN_WINDOW_H_FILE__
#define __SIMULATION_EYE_CMS_MAIN_WINDOW_H_FILE__
#include <string>
#include <QMainWindow>
#include <osgViewer/Viewer>
#include <osg/ref_ptr>
#include <QTimer>
#include <QtWidgets/QDockWidget>
#include <QtWidgets/QComboBox>

class MainWindow : public QMainWindow
{
  Q_OBJECT
  public:
    MainWindow( const std::string &windowName = "BlueMoon" );
    virtual ~MainWindow();

    QWidget *CreateOSGView( osgViewer::Viewer *v, int x, int y, int widht, int height );

    virtual void paintEvent( QPaintEvent *event );
private:
protected:
    //osg::ref_ptr<osgViewer::Viewer> _viewer;
    QTimer _timer;
    QComboBox *_addressBox;
};



#endif // __SIMULATION_EYE_CMS_MAIN_WINDOW_H_FILE__
